# -*- coding: utf-8 -*-
# @Author	: changfeng
# @Date		: 2024/12/6 17:17
# @Last Modified by:   changfeng
# @Last Modified time: 2024/12/6 17:17
# Thanks for your comments!
import hashlib


def sha521_sign(sign_string):
    hash_object = hashlib.sha512()
    hash_object.update(sign_string.encode('utf-8'))

    hashed_result = hash_object.hexdigest()
    return hashed_result
